package com.zb.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.hibernate.validator.constraints.Length;

/**
 * @Author WEN
 * @Date 2023/8/18 0018
 **/
@Data
@ApiModel("产品扩展路径对象")
public class ProductExtendPathVo {
    @ApiModelProperty(value = "扩展路径ID，新增不必传，修改必传")
    private Long id;

    @Length(max = 20, message = "扩展名称限制20个字符以内")
    @ApiModelProperty(value = "扩展名称")
    private String name;

    @Length(max = 300, message = "扩展路径限制300个字符以内")
    @ApiModelProperty(value = "扩展路径")
    private String path;

}
